from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

import os
from google.appengine.ext.webapp import template

class ProjectsPage(webapp.RequestHandler):
    
    def get(self):
        path = os.path.join(os.path.dirname(__file__),'templates/projects.html')
        self.response.out.write(template.render(path, None))


application = webapp.WSGIApplication([('/projects', ProjectsPage)],
                                      debug=True)

def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
